package com.langyue.lintcode;

import com.langyue.lintcode.main.DateChange;
import com.langyue.lintcode.main.SortPrint;

import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class test {
    public static void main(String[] args) {
//        SortPrint sortPrint = new SortPrint();
//        ArrayList<Integer> list = new ArrayList<>();
//        list.add(2);
//        list.add(1);
//        list.add(4);
//        sortPrint.sortPrint(list);
//        System.out.println(list);
        DateChange dateChange = new DateChange();
        String s = dateChange.dateConversion("2021-05-02");
        System.out.println(s);

        String str = "在我一无所有的年纪，遇到了最美年华的你，我拿什么留住你";
        StringBuilder sb = new StringBuilder();
        sb.append("时间不是解药");
        sb.append("但解药在时间里");
        System.out.println(sb);
    }
}
